package 创建者模式.工厂模式.简单工厂模式.静态工厂;
//违背开闭原则
public class Client {
    public static void main(String[] args) {
        CoffeeStore store=new CoffeeStore();
        Coffee coffee=store.orderCoffee("latte");

        System.out.println(coffee.getName());
    }
}
